# 1.谱图删除
motorcycles=['honda','yamagha','suzuki','ducati']
motorcycles.remove('ducati')
print(motorcycles)

# 2.删除不存在的元素, 无报错
num_list = [1,2,3,4,5,6]
try:
    num_list.remove(7)
except ValueError:
    pass